home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 2
/
Amiga Tools 2.iso
/
dfue
/
avmnfax
/
source
/
playnumber.avmsrc
< prev
next >
Wrap
Text File
|
1995-03-09
|
6KB
|
303 lines
startrecord=true
label=playnumber
nodetype=14
comment=Cycle through value and play each symbol
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=
nodetype=8
line1=procedure
line2=parse arg number
line3=say 'playnumber' number
line4=
line5=
line6=
line7=
line8=
line9=
line10=
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=
nodetype=8
line1=do i = 1 to length(number)
line2= if pos(substr(number, i, 1), '0123456789') > 0 then
line3= call playnumbranch('playnum' || substr(number, i, 1))
line4= else if substr(number, i, 1) = '#' then
line5= call playnumbranch('playnumpound')
line6= else if substr(number, i, 1) = '*' then
line7= call playnumbranch('playnumstar')
line8=end
line9=
line10=
nextactiontype=0
nextactionaction=playnumdone
endrecord=true
startrecord=true
label=playnumbranch
nodetype=8
line1=procedure
line2=parse arg label
line3=signal value label
line4=
line5=
line6=
line7=
line8=
line9=
line10=
nextactiontype=2
nextactionaction=return
endrecord=true
startrecord=true
label=playnum0
nodetype=1
filename='avm:voices/number00'
comment=Zero
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=0
erroractionaction=stderror
nextactiontype=2
nextactionaction=return
endrecord=true
startrecord=true
label=playnum1
nodetype=1
filename='avm:voices/number01'
comment=one
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=0
erroractionaction=stderror
nextactiontype=2
nextactionaction=return
endrecord=true
startrecord=true
label=playnum2
nodetype=1
filename='avm:voices/number02'
comment=two
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=0
erroractionaction=stderror
nextactiontype=2
nextactionaction=return
endrecord=true
startrecord=true
label=playnum3
nodetype=1
filename='avm:voices/number03'
comment=three
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=0
erroractionaction=stderror
nextactiontype=2
nextactionaction=return
endrecord=true
startrecord=true
label=playnum4
nodetype=1
filename='avm:voices/number04'
comment=four
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=0
erroractionaction=stderror
nextactiontype=2
nextactionaction=return
endrecord=true
startrecord=true
label=playnum5
nodetype=1
filename='avm:voices/number05'
comment=five
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=0
erroractionaction=stderror
nextactiontype=2
nextactionaction=return
endrecord=true
startrecord=true
label=playnum6
nodetype=1
filename='avm:voices/number06'
comment=six
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=0
erroractionaction=stderror
nextactiontype=2
nextactionaction=return
endrecord=true
startrecord=true
label=playnum7
nodetype=1
filename='avm:voices/number07'
comment=seven
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=0
erroractionaction=stderror
nextactiontype=2
nextactionaction=return
endrecord=true
startrecord=true
label=playnum8
nodetype=1
filename='avm:voices/number08'
comment=eight
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=0
erroractionaction=stderror
nextactiontype=2
nextactionaction=return
endrecord=true
startrecord=true
label=playnum9
nodetype=1
filename='avm:voices/number09'
comment=nine
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=0
erroractionaction=stderror
nextactiontype=2
nextactionaction=return
endrecord=true
startrecord=true
label=playnumpound
nodetype=1
filename='avm:voices/numberpound'
comment=pound/cross-hatch/number-sign
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=0
erroractionaction=stderror
nextactiontype=2
nextactionaction=return
endrecord=true
startrecord=true
label=playnumstar
nodetype=1
filename='avm:voices/numberstar'
comment=star/asterisk
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=0
erroractionaction=stderror
nextactiontype=2
nextactionaction=return
endrecord=true
startrecord=true
label=playnumdone
nodetype=14
comment=We're done
nextactiontype=2
nextactionaction=return
endrecord=true